

let vulnerClass = ObjC.classes.VulnerableVault
Interceptor.attach(vulnerClass['- getself'].implementation, {
    onEnter: function(args) {    
        console.log(args[2].toString());
    },
    onLeave:function(retval){
        let returnedObj = new ObjC.Object(retval);
        returnedObj.win()
    }
});